package cn.gjculture.shopping.api.entity.wx;

import lombok.Data;
import lombok.Getter;

import java.util.ArrayList;
import java.util.List;

@Data
public class PassiveMessage {

    private String id;
    private String title;
    private String picUrl;
    private int messageType;
    private int status;
    private long insertTime;
    private long updateTime;
    private List<PicTxtMessage> messages=new ArrayList<>(4);


    public enum MessageType{
        PASSIVE(1),
        SUBSCRIBE_EVENT(2);
        @Getter
        private int value;
        MessageType(int value){
            this.value=value;
        }
    }

}
